Automattic\WooCommerce\Admin\Loader D

Total Complexity 176
Dependencies 13
Dependents 13
Total lines 1,391
Lines of code 791
Logical lines of code 385
Comment lines 428
Methods 56
Properties 4

Methods 56

Method Rating Maintainability Complexity Lines of code
add_component_settings()
B
33 19 93
register_scripts()
A
35 7 96
get_translation_chunk_data()
A
46 9 38
combine_translation_chunk_files()
A
52 8 23
output_header_preload_tags_for_type()
S
54 7 22
remove_app_entry_page_menu_item()
S
56 7 17
update_user_data_values()
S
58 6 14
embed_page_header()
S
57 5 21
load_scripts()
S
54 5 20
update_admin_title()
S
57 5 16
add_admin_body_classes()
S
57 5 16
maybe_output_preload_link_tag()
S
58 5 14
inject_wc_settings_dependencies()
S
55 4 21
generate_translation_strings()
S
56 4 18
get_script_asset_filename()
S
59 4 13
is_using_installed_wc_admin_plugin()
S
57 3 18
is_embed_page()
S
77 4 3
get_url()
S
64 4 8
load_script_translation_file()
S
61 3 12
get_user_data_field()
S
61 3 12
get_custom_settings()
S
62 3 11
add_settings()
S
49 1 32
get_file_version()
S
69 3 6
inject_before_notices()
S
66 3 9
remove_notices()
S
67 3 8
delete_homepage()
S
65 3 9
__construct()
S
50 1 28
register_user_data()
S
57 1 21
get_user_data_values()
S
68 2 7
inject_after_notices()
S
71 2 6
get_currency_settings()
S
59 1 15
get_order_statuses()
S
66 2 8
smart_app_banner()
S
71 2 7
get_instance()
S
71 2 6
is_admin_or_embed_page()
S
79 2 3
should_use_minified_js_file()
S
71 2 6
activated_plugin()
S
67 2 7
define_tables()
S
64 2 10
get_analytics_capability()
S
70 2 6
get_path()
S
78 2 3
build_and_save_translations()
S
63 2 10
output_header_preload_tags()
S
61 1 15
is_admin_page()
S
79 2 3
page_wrapper()
S
77 1 7
register_store_details_page()
S
66 1 9
register_page_handler()
S
80 1 3
get_unregistered_order_statuses()
S
66 1 8
add_settings_group()
S
66 1 8
get_embed_breadcrumbs()
S
80 1 3
get_combined_translation_filename()
S
74 1 4
is_feature_enabled()
S
80 1 3
user_can_analytics()
S
80 1 3
get_features()
S
80 1 3
get_user_data_fields()
S
79 1 3
update_user_data_field()
S
78 1 3
output_heading()
S
80 1 3